package cn.donghuapian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author hzw
 * @since 2024-09-23
 */
@Data
@TableName("t_weapon")
public class WeaponEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("code")
    private String code;

    @TableField("name")
    private String name;

    /**
     * 分类
     */
    @TableField("category")
    private String category;

    /**
     * 资料
     */
    @TableField("detail")
    private String detail;

    /**
     * 图片表id
     */
    @TableField("image_id")
    private Integer imageId;

    @TableField("image_name")
    private String imageName;

    @TableField("create_time")
    private LocalDateTime createTime;
}
